#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<windows.h>
int main()
{
	char ch1[] = "welcome to china!";
	char ch2[] = "*****************";
	int left = 0;
	int right = strlen(ch1) - 1;
	while(left<=right)
	{
		ch2[left] = ch1[left];
		ch2[right] = ch1[right];
		printf("%s\n", ch2);
		Sleep(1000);
		system("cls");
		left++;
		right--;
	}
	printf("%s\n", ch2);
	return 0;
}